package day03;

public class FractionApp {
    public static void main(String[] args) {
        int x=50000;
        System.out.println(x*x);

        //1/1+1/2+1/3+1/4+...1/10;
       // int s=0;
        Fraction s=new Fraction();

        for (int i = 1; i <= 20; i++) {
           s=s.add(new Fraction(1,i));
        }
        System.out.println(s);
    }
}
